package com.itheima.clientAndService01;

import java.io.File;
import java.io.IOException;

public class FileClass04 {
    public static void main(String[] args) throws IOException {
        File file = new File("day11\\aaa");
        if (!file.exists()){
            file.mkdirs();
        }
        File file1 = new File(file,"a.txt");
        boolean result = file1.createNewFile();
        System.out.println(result);
    }
}
